package wafa.modelDocumentRest;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "Content")

public class Content implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private byte[] content; 
	private String mimeType;
	
	
	/**
	 * 
	 */
	public Content() {
		super();
	}
	/**
	 * @param content
	 * @param mimeType
	 */
	public Content(byte[] content, String mimeType) {
		super();
		this.content = content;
		this.mimeType = mimeType;
	}
	public byte[] getContent() {
		return content;
	}
	public void setContent(byte[] tableau) {
		this.content = tableau;
	}
	public String getMimeType() {
		return mimeType;
	}
	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}
	
}
